package com.example.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDate;

/**
 * 员工数据传输对象
 */
@Data
@Schema(description = "员工数据传输对象")
public class EmpDTO {
    @Schema(description = "员工ID", example = "1")
    private Integer id;
    
    @Schema(description = "用户名", example = "zhangsan")
    private String username;
    
    @Schema(description = "密码", example = "123456")
    private String password;
    
    @Schema(description = "员工姓名", example = "张三")
    private String name;
    
    @Schema(description = "性别, 1:男, 2:女", example = "1")
    private Integer gender;
    
    @Schema(description = "手机号", example = "13800138000")
    private String phone;
    
    @Schema(description = "职位, 1:班主任, 2:讲师, 3:学工主管, 4:教研主管, 5:咨询师", example = "2")
    private Integer job;
    
    @Schema(description = "薪资", example = "10000")
    private Integer salary;
    
    @Schema(description = "头像", example = "https://example.com/avatar.jpg")
    private String image;
    
    @Schema(description = "入职日期", example = "2023-01-01")
    private LocalDate entryDate;
    
    @Schema(description = "部门ID", example = "1")
    private Integer deptId;
} 